package visitor.example;

/**
 * @author cheng:
 * @date 2019/4/27 14:00
 */
public class Failing extends Action{
    @Override
    public void getManConclusion(Man manElement) {
        System.out.println(manElement.getClass().getSimpleName() + " " + this.getClass().getSimpleName() + "时，闷头喝酒，谁也不用劝。");
    }

    @Override
    public void getWoManConclusion(WoMan manElement) {
        System.out.println(manElement.getClass().getSimpleName() + " " + this.getClass().getSimpleName() + "时，眼泪汪汪，谁也劝不了。");
    }
}
